home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
Projects
/
Contributed Scores
/
Claudio Martini
/
Simple Canon
< prev
Wrap
Lisp/Scheme
|
1998-10-26
|
2KB
|
53 lines
; authors: stalker@mix.it and psto@xs4all.nl
(def-orchestra 'orchestra
all-instruments (voice-1 voice-2)
)
(setq theme '(a c e f -b e (-1 e) d (-1 d) c b (-1 b) a -b -d a d c b a c))
(setq theme-rhythm '(2/4 2/4 2/4 2/4 2/4 -1/4 2/4 2/4 2/4 2/4 2/4 1/4 1/4 1/4 1/4 1/4
1/4 1/4 2/4 2/4 2/4 2/4))
(setq contrapunctus-theme '(e d e h e c b c d e (1 f) g h c d e f b c d e d c b c d e f (-1 g)
f e d e f (-1 g) h (-1 i) (-1 g) f e (1 f) g h i j h g (1 f) g h i
j k i e i h i j k j i h g h e c a))
(setq contrapunctus-rhythm '(1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8
1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8
1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8
1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8
1/4 1/4 1/4 1/4))
(def-section-timesheet sect-a
;
; timesheet
;
with 1/1
; !---!---!---!---!---!---!---!---!
tonality "." (activate-tonality (harmonic-minor c 5))
; +---!---+---!---+---!---+---!---+
voice-1 "------------------"
voice-2 "------------------"
)
(def-section sect-a
voice-1
channel 2
symbol (append theme contrapunctus-theme)
length (append theme-rhythm contrapunctus-rhythm)
velocity '(85 75 80 70)
voice-2
channel 3
symbol (symbol-retrograde (same-as symbol of voice-1))
length (symbol-retrograde (same-as length of voice-1))
velocity '(85 75 80 70)
)
(def-tempo 150)
(play-file-p nil
all-instruments '(sect-a)
)